<?=$this->render ( 'public/header.phtml' )?>
<div class="site-left">

<div class="box3">
<div class="title"><?=$this->articleInfo ['article_title']?></div>
<div class="content">
<dl>
	<div><?=$this->articleInfo ['article_inputtime']?></div>
	<dd><pre><?=$this->articleInfo ['article_content']?></pre></dd>
</dl>
</div>
</div>
<!-- end box2 -->

<div class="comment">发表您的观点...
<form
	action="<?=$this->url ( array ( 'action' => 'add' ), 'site_comment_do' )?>"
	method="post" id="comment">
<p><textarea name="comment_text" id="comment_text" cols="45" rows="5"></textarea>
</p>
<p><br />
<input type="submit" name="button" id="button" value="发 表" /> <input
	type="hidden" name="site_id" id="site_id"
	value="<?=$this->modelInfo ['site_id']?>" /> <input type="hidden"
	name="model_type" id="model_type" value="article" /> <input
	type="hidden" name="model_id" id="model_id"
	value="<?=$this->modelInfo ['model_id']?>" /> <input type="hidden"
	name="item_id" id="item_id"
	value="<?=$this->articleInfo ['article_id']?>" /></p>
</form>
<div class="list" id="comment_list">
     <?php
					foreach ( $this->comment as $val ) {
						?>
       <table width="100%" border="0">
	<tr>
		<td class="avatar"><img
			src="<?=$this->userObject->getAvatar ( '', $val ['user_id'] )?>" />
		<p><?=$this->userObject->getUserName ( $val ['user_id'] );?></p>
		</td>
		<td class="text">
		<div class="fr"><?=$val ['comment_inputtime']?></div>
          <?=$val ['comment_text']?>
           </td>
	</tr>
</table>
   <?
					}
					?>
     </div>
</div>

</div>
<!-- end site-left -->
<div class="site-right">
<div class="box1">
<div class="title">更多文章... <span class="fr" style="font-weight: normal"><a
	href="<?=$this->url ( array ( 'controller' => 'article' , 'site_id' => $this->site_id , 'model_id' => $this->model_id ), 'site_model_index' );?>">>>返回列表</a>&nbsp;&nbsp;</span></div>
<div class="content">
     <?php
					foreach ( $this->newArticleList as $item ) {
						?>
      <div class="list"><a
		href="<?=$this->url ( array ( 'site_id' => $item ['site_id'] , 'controller' => 'article' , 'model_id' => $item ['model_id'] , 'id' => $item ['article_id'] , 'page_id' => 1 ), 'site_model_content' )?>"><?=$item ['article_title']?></a></div>
     <?
					}
					?>  
</div>
</div>
<!-- end box1 --></div>
<!-- end site-right -->